/**
 * 调试用工具类
 * @namespace
 */
var Debug = {
}

//	 * @param {string} somebody
//	 * @param {string} [somebody] - Somebody's name.
//	 * @param {string} [somebody=John Doe] - Somebody's name.
//	 * @param {(string|string[])} [somebody=John Doe] - Somebody's name,<br> or an array of names.
//	 * @param {Object} employee - The employee who is responsible for the project.
//	 * @param {string} employee.name - The name of the employee.
//	 * @param {string} employee.department - The employee's department.
//	 * @param {Object[]} employees - The employees who are responsible for the project.
//	 * @param {string} employees[].name - The name of an employee.
//	 * @param {string} employees[].department - The employee's department.
//	 * @memberof Debug

/**
 * 检测是否是本地运行
 * @memberof Debug
 * @returns true - 本地运行模式; false - 服务器运行模式
 */
Debug.isLocalMode = function(){
	return window && window.location && window.location.origin && window.location.origin.substr(0, 4) == 'file';
}
